package com.springboot.cloud.demos.feign.service;

import com.springboot.cloud.common.core.entity.vo.Result;
import com.springboot.cloud.common.core.exception.SystemErrorType;
import org.springframework.stereotype.Component;

@Component
public class MenuServiceFallback implements MenuService {
    @Override
    public Result menu() {
        return Result.fail(SystemErrorType.SYSTEM_BUSY);
    }

}
